package com.dora.http.base.headerfilter;

import com.dora.http.base.listener.HeadersOkFilterAdapter;
import com.dora.http.utils.MapTool;
import java.util.Map;

/**
 * @Author: Dora
 * @Description: OkHttp固定请求头
 * @Date: 2022/1/4
 */
public class DefHeadersOkInterceptor extends HeadersOkFilterAdapter {

    @Override
    public Map<String, String> defHeaders(){
        return MapTool.builder()
                .put("Content-Type", "application/json;charset=utf-8")
                .build();
    }

}
